package com.zhrj.exam.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhrj.exam.entity.Pagination;
import com.zhrj.exam.entity.ZhrjAlarmInfo;
import com.zhrj.exam.entity.ZhrjAlarmInfoVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 事件表 服务类
 * </p>
 *
 * @author zhrj
 * @since 2023-03-14
 */
public interface IZhrjAlarmInfoService extends IService<ZhrjAlarmInfo> {
    /*** 获取用户信息（QueryWrapper查询分页）** @param pagination 查询条件* @return*/
    Page<ZhrjAlarmInfo> getUserListByQueryWrapperPage(Pagination pagination,String eventReasons);
    /*** 获取用户信息（SQL查询分页）** @param pagination 查询条件* @return*/
    Page<ZhrjAlarmInfoVo> getUserListBySQLPage(Pagination pagination);

    List<ZhrjAlarmInfoVo> getList(String eventReasons) ;

}
